#-*-coding:utf-8-*-
import os
path=r'F:\HoudiniOut\Houdini17\test\testHoudiniAssitant'
# projectName='AAA'
# project=os.path.join(path,projectName)
# isExists=os.path.exists(project)
# if not isExists:
#     os.makedirs(project)
#
# dirlist=['geo','hda','sim','abc','tex','render','flip','scripts','comp','audio','video','desk']
#
# for d in dirlist:
#     newdir=os.path.join(project,d)
#     os.makedirs(newdir)


newpath='F:/HoudiniOut/A.mov'
dir,fileAllname= os.path.split(newpath)
print(dir,fileAllname)
filename,filetype=os.path.splitext(fileAllname)
print(filename)